import request from '@/utils/request'


//获取分类月嫂
export const getMatronList = (data) =>
  request.post('/adminpc/matron/', data)

//获取月嫂详情
export const getMatronDetail= (data) =>
  request.post('/adminpc/matron/detail/',data)

//修改月嫂
export const alterMatronDetail= (data) =>
  request.post('/adminpc/matron/detail/put/',data)

//新增月嫂
export const increaseMatronDetail= (data) =>
  request.post('/adminpc/matron/create/',data)

//设置月嫂启用状态
export const setMatronType= (data) =>
  request.post('/adminpc/show/matron/',data)

//删除月嫂
export const deleteMatronapi= (data) =>
  request.post('/adminpc/delete/matron/',data)